package cn.jsc.pet.domain;

import cn.jsc.basic.domain.BaseDomain;
import cn.jsc.org.domain.Shop;
import cn.jsc.user.domain.User;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 实体类：寻主消息
 */
@Data
public class SearchMasterMsg extends BaseDomain {
    //消息名称
    private String name;
    //宠物价格
    private BigDecimal price;
    //年龄
    private Integer age;
    //性别
    private Integer gender;
    //毛色
    private String coat_color;
    //图片资源
    private String resources;
    //宠物类型
    private Long pet_type;
    private PetType type;
    //地址
    private String address;
    //标题
    private String title;
    //状态
    private Integer state = 0; //0表示待处理， 1表示已处理
    //发布寻主的用户id
    private Long user_id;
    private User user;
    //离用户最近的门店id
    private Long shop_id;
    private Shop shop;
}
